package com.ailesson.video.model.reply;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author helen
 * @since 2020/6/6
 */
@Schema(name = "课程发布对象")
@Data
public class CoursePublishReply {
    @Schema(name = "id", description = "主键", type = "Long")
    private String id;
    @Schema(name = "title", description = "课程标题", type = "String")
    private String title;
    @Schema(name = "cover", description = "课程封面图片路径", type = "String")
    private String cover;
    @Schema(name = "lessonNum", description = "总课时", type = "Integer")
    private Integer lessonNum;
    @Schema(name = "subjectParentTitle", description = "父级科目名称", type = "String")
    private String subjectParentTitle;
    @Schema(name = "subjectTitle", description = "科目名称", type = "String")
    private String subjectTitle;
    @Schema(name = "teacherName", description = "老师名称", type = "String")
    private String teacherName;
    @Schema(name = "price", description = "课程销售价格，设置为0则可免费观看", type = "BigDecimal")
    private String price;//只用于显示
}